<!DOCTYPE html>
<html>
<head>
<title> HackedPixels.de </title>
<!-- Enable syntax highlighting. -->
<link rel="stylesheet" href="css/ft-syntax-highlight.css">
<link rel="stylesheet" href="css/style.css">
<!-- Enable the warning, sidebar, fancy graphics -->
<link rel="stylesheet" href="css/w3.css">
</head>
<body>
<div class="w3-bar w3-black">
	<a href="index.html" class="w3-bar-item w3-button">Home</a>

	<div class="w3-dropdown-hover">
		<button class="w3-button">Content</button>
		<div class="w3-dropdown-content w3-bar-block w3-card-4">
			<a class="w3-bar-item w3-button" href="linux_on_mac.html">Gentoo</a>
			<a class="w3-bar-item w3-button" href="interesting_stuff.html">Emporium O'Stuff</a>
		</div>
        </div>

	<a href="download_stuff.html" class="w3-bar-item w3-button">Download</a>
</div>

<div class="centered">
<div class="w3-container">
<img src="/img.svg">

<pre class="ft-syntax-highlight" data-syntax="html" data-ui-theme="dark" data-syntax-theme="vbgreen" syntax-show="HTML"><code>
    <span class="newline"><span class="hl ppc">#include</span> <span class="hl pps">&quot;main.h&quot;</span><span class="hl ppc"></span></span>
    <span class="newline"></span>
    <span class="newline"><span class="identifier-native">struct</span> X_CONFIG<span class="operand">*</span> xconfig<span class="operand">;</span></span>
    <span class="newline"></span>
    <span class="newline"><span class="identifier-native">char</span><span class="operand">*</span> msg <span class="operand">=</span> <span class="hl str">&quot;Hello World!&quot;</span><span class="operand">;</span></span>
    <span class="newline"></span>
    <span class="newline"><span class="identifier-native">void</span></span>
    <span class="newline"><span class="identifier-udf">test</span><span class="operand">()</span></span>
    <span class="newline"><span class="operand">{</span></span>
    <span class="newline">	<span class="identifier-udf">printf</span><span class="operand">(</span><span class="hl str">&quot;test!</span><span class="hl esc">\n</span><span class="hl str">&quot;</span><span class="operand">);</span></span>
    <span class="newline"><span class="operand">}</span></span>
    <span class="newline"></span>
    <span class="newline"><span class="identifier-native">int</span></span>
    <span class="newline"><span class="identifier-udf">main</span><span class="operand">(</span><span class="identifier-native">void</span><span class="operand">)</span></span>
    <span class="newline"><span class="operand">{</span></span>
    <span class="newline">	xconfig <span class="operand">=</span> <span class="identifier-udf">malloc</span><span class="operand">(</span><span class="keyword">sizeof</span><span class="operand">(</span><span class="identifier-native">struct</span> X_CONFIG<span class="operand">));</span></span>
    <span class="newline">	<span class="identifier-udf">drw_init</span><span class="operand">(&amp;</span>xconfig<span class="operand">);</span></span>
    <span class="newline"></span>
    <span class="newline">	<span class="identifier-native">struct</span> varg<span class="operand">*</span> v <span class="operand">=</span> <span class="identifier-udf">malloc</span><span class="operand">(</span><span class="keyword">sizeof</span><span class="operand">(</span><span class="identifier-native">struct</span> varg<span class="operand">));</span></span>
    <span class="newline">	v <span class="operand">=</span> <span class="identifier-udf">arg_encode</span><span class="operand">(</span><span class="hl str">&quot;ds&quot;</span><span class="operand">,</span> <span class="value">100</span><span class="operand">,</span> <span class="hl str">&quot;hello, world!&quot;</span><span class="operand">);</span></span>
    <span class="newline"></span>
    <span class="newline">	<span class="identifier-native">int</span> b<span class="operand">;</span></span>
    <span class="newline">	<span class="identifier-native">char</span><span class="operand">*</span> s<span class="operand">;</span></span>
    <span class="newline">	<span class="identifier-udf">arg_decode</span><span class="operand">(</span>v<span class="operand">, &amp;</span>b<span class="operand">, &amp;</span>s<span class="operand">);</span></span>
    <span class="newline">	<span class="identifier-udf">free</span><span class="operand">(</span>v<span class="operand">);</span></span>
    <span class="newline"></span>
    <span class="newline">	<span class="comment">//thread_start(test);</span></span>
    <span class="newline"></span>
    <span class="newline">	<span class="keyword">while</span><span class="operand">(</span><span class="value">1</span><span class="operand">)</span></span>
    <span class="newline">	<span class="operand">{</span></span>
    <span class="newline">		<span class="identifier-udf">drw_events</span><span class="operand">(&amp;</span>xconfig<span class="operand">);</span></span>
    <span class="newline">	<span class="operand">}</span></span>
    <span class="newline"></span>
    <span class="newline">	<span class="identifier-udf">drw_deinit</span><span class="operand">(&amp;</span>xconfig<span class="operand">);</span></span>
    <span class="newline"></span>
    <span class="newline">	<span class="identifier-udf">free</span><span class="operand">(</span>xconfig<span class="operand">);</span></span>
    <span class="newline">	<span class="keyword">return</span> <span class="value">0</span><span class="operand">;</span></span>
    <span class="newline"><span class="operand">}</span></span>
    <span class="newline"></span>
</code>
</pre>
</div>
<footer>
	<h6>
	Made with 
	<a class="w3-button w3-round-xlarge w3-padding-small w3-border" href="https://www.google.com/search?client=firefox-b-ab&biw=2558&bih=1494&tbm=isch&sa=1&ei=FemdW47VJYvsrgTF_oSQCA&q=cute+puppies+and+kittens+love&oq=cute+puppies+and+kittens+love&gs_l=img.3...4005.5362.0.5576.9.9.0.0.0.0.130.776.7j2.9.0....0...1c.1.64.img..0.3.246...0i8i30k1j0i19k1.0.VJo0b64lIGg">&#x2764</a>
	by 
	<a href="https://notabug.org/HackedPixels/hackedpixelsweb">
		him
	</a> with support from 
	<a href="">
		this
	</a>
	and 
	<a href="">
		that
	</a>
	<br>
		All content on this website is released under GPL3 unless stated otherwise.
	</h6>
</footer>
</div>
</body>
</html>
